package net.maku.events.convert;

import net.maku.events.entity.UserContestQuestionEntity;
import net.maku.events.vo.UserContestQuestionVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
* 用户所答竞赛
*
* @author 阿沐 babamu@126.com
* @since 1.0.0 2025-03-22
*/
@Mapper
public interface UserContestQuestionConvert {
    UserContestQuestionConvert INSTANCE = Mappers.getMapper(UserContestQuestionConvert.class);

    UserContestQuestionEntity convert(UserContestQuestionVO vo);

    UserContestQuestionVO convert(UserContestQuestionEntity entity);

    List<UserContestQuestionVO> convertList(List<UserContestQuestionEntity> list);

}